]> dgit.raspbian.org Git - gnome-shell.git/commit
status/keyboard: Don't allow the switcher in the message tray
authorRui Matos <tiagomatos@gmail.com>
Mon, 4 Mar 2013 13:41:55 +0000 (14:41 +0100)
committerRui Matos <tiagomatos@gmail.com>
Mon, 4 Mar 2013 17:32:49 +0000 (18:32 +0100)
commite5ca53e56c3a1c97bbfd801ee7996c7424089fc0
treedc9dba1f80d711ff9a4bbb68663fc9127d837bc5
parent7a79236bab67e6421352d0dc0bb51ad2d493c32c
status/keyboard: Don't allow the switcher in the message tray

SwitcherPopup relies on being able to pushModal(), setting the stage
input mode to FULLSCREEN, and then doing regular event processing on
the actor it adds to uiGroup. But MessageTray uses GrabHelper which
sets up a 'captured-event' handler on the stage and thus gets all
events itself.

This, of course, breaks the switcher if it's brought up in the message
tray so, for now, we'll just prevent it from being used there.

https://bugzilla.gnome.org/show_bug.cgi?id=693907
js/ui/status/keyboard.js